<?xml version="1.0" encoding="utf-8" ?>
<asn:Sequence
  xmlns:asn="http://schemas.dot.net/asnxml/201808/"
  name="PrivateKeyInfoAsn"
  namespace="System.Security.Cryptography.Asn1">

  <!--
    https://tools.ietf.org/html/rfc5208#section-5

    PrivateKeyInfo ::= SEQUENCE {
        version                   Version,
        privateKeyAlgorithm       PrivateKeyAlgorithmIdentifier,
        privateKey                PrivateKey,
        attributes           [0]  IMPLICIT Attributes OPTIONAL
    }

    Version ::= INTEGER
    PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
    PrivateKey ::= OCTET STRING
    Attributes ::= SET OF Attribute
  -->
  <asn:Integer name="Version" backingType="int" />
  <asn:AsnType name="PrivateKeyAlgorithm" typeName="System.Security.Cryptography.Asn1.AlgorithmIdentifierAsn" />
  <asn:OctetString name="PrivateKey" />
  <asn:SetOf name="Attributes" implicitTag="0" optional="true">
    <asn:AsnType typeName="System.Security.Cryptography.Asn1.AttributeAsn" />
  </asn:SetOf>
</asn:Sequence>
